<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.8.1/jquery.js"></script>
		<style type="text/css">
		a{
			text-decoration: none;
		}
		#info-item{
			padding: 10px 0;
			border-top: 1px solid #ccc;
			border-bottom: 1px solid #ccc;
		}
			.tit{
				color: #f60;
				font-size: 24px;
			}
			.content{
				display: flex;
				justify-content: start;
				color: #ccc;
				margin: 10px 0;
			}
			.author{
				margin-right: 20px;
			}
		</style>
		<title>首页</title>
	</head>
	<body>
		<h2>博客首页</h2>
		<div id="info-item">
			<a href="#">
				<div class="tit">title</div>
				<div class="content">
					<div class="author">asd</div>
					<div class="time">123</div>
				</div>
			</a>
		</div>
		<div id="info"></div>
		<script type="text/javascript">
			$(function(){
				$.get('http://localhost:3000/api/blog/list',(val)=>{
					console.log(val);
				})
			})
		</script>
		
	</body>
</html>